<?php

namespace tmcore\exceptions;

use Throwable;

/**
 * Class UploadException
 * @package tmcore\exceptions
 */
class UploadException extends BaseException
{
    public function __construct($message = '', $code = 10200, $data = [], Throwable $previous = null)
    {
        $this->data     = $data;
        $this->code     = $code;
        $this->message  = $message;
        parent::__construct($this->message, $this->code, $previous);
    }
}